<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <style>
        body {
            width: 300px;
            padding: 15px;
            font-family: Arial, sans-serif;
        }
        
        h1 {
            font-size: 18px;
            color: #333;
            margin-bottom: 10px;
        }
        
        p {
            font-size: 14px;
            color: #666;
            line-height: 1.4;
            margin-bottom: 15px;
        }
        
        .toggle-container {
            text-align: center;
            margin-top: 15px;
        }
        
        .toggle-btn {
            background-color: #4CAF50;
            color: white;
            border: none;
            padding: 8px 20px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.3s;
        }
        
        .toggle-btn:hover {
            background-color: #45a049;
        }
        
        .toggle-btn.active {
            background-color: #f44336;
        }
        
        .toggle-btn.active:hover {
            background-color: #da190b;
        }
    </style>
</head>

<body>
    <h1>SVG 标记与下载工具</h1>
    <p>此插件会自动标记页面中的所有 SVG 元素，并为每个 SVG 添加下载按钮。</p>
    <p>点击 SVG 元素右上角的"下载 SVG"按钮即可下载对应的 SVG 文件。</p>
    <div class="toggle-container">
        <button id="toggleBtn" class="toggle-btn">开启标记</button>
    </div>
    <script src="popup.js"></script>
</body>

</html>